//繁体<=>中文 转化

const cache = {}

const simpleToTraditional = (word)=>{
    if(cache[word])
        return cache[word];

    cache[word] = word; //调用库解析
    return cache[word];
}

const traditionalToSimple = (word)=>{
    if(cache[word])
        return cache[word];

    cache[word] = word; //调用库解析
    return cache[word];
}

module.exports = {
    simpleToTraditional,
    traditionalToSimple
}